home *** CD-ROM | disk | FTP | other *** search
/ PCMania 73 / PCMania CD73_1.iso / pcmania / render73 / Foro / FUERTES / GALEON / 12LIBRAS.INC next >
Text File  |  1998-06-26  |  3KB  |  134 lines

  1. //#declare metal=texture {pigment {rgb 1}}
  2.  
  3. #declare lateral_curena=
  4. union
  5. {
  6.  union
  7.  {
  8.   box {<-1.5,5,-.2>,<1.5,4.05,.2>}
  9.   box {<-1.5,4,-.2>,<4,3.05,.2>}
  10.   box {<-1.5,3,-.2>,<9,2.05,.2>}
  11.   box {<-1.5,2,-.2>,<9,.5,.2>}
  12.   texture {madera2}
  13.  }
  14.  union
  15.  {
  16.   box {<-1,4.5,-.21>,<-1.2,1,.21>}
  17.   box {<1,4.5,-.21>,<1.2,1,.21>}
  18.   box {<3,3.8,-.21>,<3.2,1,.21>}
  19.   box {<4.5,2.8,-.21>,<4.7,1,.21>}
  20.   box {<8.5,2.8,-.21>,<8.7,1,.21>}
  21.   texture {metal}
  22.  }
  23. }
  24.  
  25. #declare interior_curena=
  26. union
  27. {
  28.  box {<1.5,1,1>,<7,3.2,-1>}
  29.  prism {linear_spline .75,-.75 4 <5,3.2>,<6.8,3.8>,<6.8,3.2>,<5,3.2> rotate x*-90}
  30.  texture {madera2}
  31. }
  32.  
  33. #declare frontal_curena=
  34. union
  35. {
  36.  union
  37.  {
  38.   box {<.2,3,1.6>,<-.2,2.05,-1.6>}
  39.   box {<.2,2,1.6>,<-.2,1,-1.6>}
  40.   texture {madera2}
  41.  }
  42.  union
  43.  {
  44.   box {<-.21,2.8,1.2>,<.21,1.2,1.4>}
  45.   box {<-.21,2.8,-1.2>,<.21,1.2,-1.4>}
  46.   box {<-.21,2.8,-.2>,<.21,1.2,.2>}
  47.   texture {metal}
  48.  }
  49. }
  50.  
  51. #declare eje_canon=
  52. union
  53. {
  54.  cylinder {<0,5,2.1>,<0,5,-2.1>,.3}
  55.  cylinder {<0,5,-1.95>,<0,5,-1.65>,.4}
  56.  cylinder {<0,5,1.95>,<0,5,1.65>,.4}
  57.  box {<-1,5,1.95>,<1,5.1,1.65>}
  58.  box {<-1,5,-1.95>,<1,5.1,-1.65>}
  59.  sphere {<-.8,5.1,-1.8>,.1} sphere {<.8,5.1,-1.8>,.1}
  60.  sphere {<-.8,5.1,1.8>,.1} sphere {<.8,5.1,1.8>,.1}
  61.  texture {metal}
  62. }
  63.  
  64. #declare rueda=
  65. union
  66. {
  67.  cylinder {<0,0,.2>,<0,0,-.2>,.9 texture {madera2}}
  68.  box {<-.05,.9,.2001>,<.05,-.9,-.2001> pigment {rgb 0}}
  69.  box {<.5,.4,-.21>,<-.5,.6,.21>}
  70.  box {<.5,-.4,-.21>,<-.5,-.6,.21>}
  71.  cylinder {<0,0,.19>,<0,0,-.19>,1}
  72.  texture {metal}
  73. }
  74.  
  75. #declare tubo1=
  76. union
  77. {
  78.  sphere {<6,0,0>,1.25}
  79.  cylinder {<6,0,0>,<-2,0,0>,1.25}
  80.  cone {<-2,0,0>,1.25,<-10,0,0>,1}
  81.  cone {<-9.9,0,0>,1.25,<-8,0,0>,1}
  82.  cone {<-10,0,0>,1.15,<-8,0,0>,1}
  83.  torus {1.15,.1 rotate z*90 translate x*-9.9}
  84.  torus {1.25,.1 rotate z*90 translate x*-1.9}
  85.  torus {1.25,.1 rotate z*90 translate x*2.9}
  86.  torus {1.25,.1 rotate z*90 translate x*5.9}
  87.  sphere {<7.45,0,0>,.3}
  88.  difference
  89.  {
  90.   box {<4,.5,.15>,<5.5,1.45,-.15>}
  91.   cylinder {<5.2,.6,0>,<5.2,1.46,0>,.1}
  92.  }
  93.  texture {metal}
  94. }
  95.  
  96. #declare tubo=
  97. difference
  98. {
  99.  object {tubo1}
  100.  cylinder {<0,0,0>,<-11,0,0>,.8 pigment {rgb 0}}
  101. }
  102.  
  103. #declare anilla=
  104. union
  105. {
  106.  box {<-.2,.7,0>,<.2,-.7,-.05>}
  107.  sphere {<0,.5,-.05>,.1} sphere {<0,-.5,0>,.1}
  108.  torus {.275,.055 rotate z*90 translate z*-.2}
  109.  texture {metal}
  110. }
  111.  
  112. #declare doce_libras=
  113. union
  114. {
  115.  object {lateral_curena translate z*1.8}
  116.  object {lateral_curena translate z*-1.8}
  117.  object {interior_curena}
  118.  object {frontal_curena translate x*-1.3}
  119.  object {frontal_curena translate x*3.5}
  120.  object {frontal_curena translate x*6.5}
  121.  object {eje_canon}
  122.  cylinder {<0,1,-2.6>,<0,1,2.6>,.3 texture {metal}}
  123.  cylinder {<7,1,-2.6>,<7,1,2.6>,.3 texture {metal}}
  124.  object {rueda rotate z*35 translate <0,1,2.3>}
  125.  object {rueda rotate z*5 translate <0,1,-2.3>}
  126.  object {rueda rotate z*205 translate <7,1,-2.3>}
  127.  object {rueda rotate z*57 translate <7,1,2.3>}
  128.  object {tubo translate <0,5,0>}
  129.  object {anilla translate <-.5,3,-2>}
  130.  object {anilla translate <5.5,2,-2>}
  131.  object {anilla rotate y*180 translate <-.5,3,2>}
  132.  object {anilla rotate y*180 translate <5.5,2,2>}
  133. }
  134.